home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update28.zoo / include / diffh
Encoding:
Text File  |  1993-02-22  |  24.8 KB  |  800 lines

  1. ===================================================================
  2. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/PatchLev.h,v
  3. retrieving revision 1.47
  4. diff -c -r1.47 PatchLev.h
  5. *** 1.47    1992/12/28 08:03:06
  6. --- PatchLev.h    1993/02/18 00:31:00
  7. ***************
  8. *** 1,5 ****
  9.   
  10. ! #define    PatchLevel "86"
  11.   
  12.   /*
  13.    *
  14. --- 1,5 ----
  15.   
  16. ! #define    PatchLevel "87"
  17.   
  18.   /*
  19.    *
  20. ===================================================================
  21. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/aesbind.h,v
  22. retrieving revision 1.8
  23. diff -c -r1.8 aesbind.h
  24. *** 1.8    1992/06/03 15:23:13
  25. --- aesbind.h    1993/02/22 06:24:42
  26. ***************
  27. *** 14,20 ****
  28.   __EXTERN int    appl_init __PROTO((void));
  29.   __EXTERN int    appl_read __PROTO((int ApId, int Length, void *ApPbuff));
  30.   __EXTERN int    appl_write __PROTO((int ApId, int Length, void *ApPbuff));
  31. ! __EXTERN int    appl_find __PROTO((char *Name));
  32.   __EXTERN int    appl_tplay __PROTO((void *Mem, int Num, int Scale));
  33.   __EXTERN int    appl_trecord __PROTO((void *Mem, int Count));
  34.   __EXTERN int    appl_exit __PROTO((void));
  35. --- 14,20 ----
  36.   __EXTERN int    appl_init __PROTO((void));
  37.   __EXTERN int    appl_read __PROTO((int ApId, int Length, void *ApPbuff));
  38.   __EXTERN int    appl_write __PROTO((int ApId, int Length, void *ApPbuff));
  39. ! __EXTERN int    appl_find __PROTO((const char *Name));
  40.   __EXTERN int    appl_tplay __PROTO((void *Mem, int Num, int Scale));
  41.   __EXTERN int    appl_trecord __PROTO((void *Mem, int Count));
  42.   __EXTERN int    appl_exit __PROTO((void));
  43. ***************
  44. *** 92,98 ****
  45. --- 92,106 ----
  46.   __EXTERN int    menu_tnormal __PROTO((void *Tree, int Item, int NormalFlag));
  47.   __EXTERN int    menu_text __PROTO((void *Tree, int Item, char *Text));
  48.   __EXTERN int    menu_register __PROTO((int ApId, char *MenuText));
  49. + __EXTERN int    menu_popup __PROTO((MENU *me_menu, int me_xpos, int me_ypos,
  50. +                                     MENU *me_mdata));
  51. + __EXTERN int    menu_attach __PROTO((int me_flag, OBJECT *me_tree, int me_item,
  52. +                                      MENU *me_mdata));
  53. + __EXTERN int    menu_istart __PROTO((int me_flag, OBJECT *me_tree,
  54. +                                      int me_imenu, int me_item));
  55. + __EXTERN int    menu_settings __PROTO((int me_flag, MN_SET *me_values));
  56.   
  57.   __EXTERN int    objc_add __PROTO((void *Tree, int Parent, int Child));
  58.   __EXTERN int    objc_delete __PROTO((void *Tree, int Object));
  59.   __EXTERN int    objc_draw __PROTO((void *Tree, int Start, int Depth, int Cx,
  60. ***************
  61. *** 101,108 ****
  62. --- 109,121 ----
  63.                      int My));
  64.   __EXTERN int    objc_offset __PROTO((void *Tree, int Object, int *X, int *Y));
  65.   __EXTERN int    objc_order __PROTO((void *Tree, int Object, int NewPos));
  66. + #ifdef __TCC_GEMLIB__
  67. + __EXTERN int    objc_edit __PROTO((void *Tree, int Object, int Char, int *Index,
  68. +                    int Kind)); 
  69. + #else
  70.   __EXTERN int    objc_edit __PROTO((void *Tree, int Object, int Char, int Index,
  71.                      int Kind, int *NewIndex)); 
  72. + #endif
  73.   __EXTERN int    objc_change __PROTO((void *Tree, int Object, int Res, int Cx,
  74.                        int Cy, int Cw, int Ch, int NewState,
  75.                        int Redraw));
  76. ***************
  77. *** 134,141 ****
  78. --- 147,158 ----
  79.                      int Wh));
  80.   __EXTERN int    wind_close __PROTO((int WindowHandle));
  81.   __EXTERN int    wind_delete __PROTO((int WindowHandle));
  82. + #ifdef __TCC_GEMLIB__
  83. + __EXTERN int    wind_get __PROTO((int WindowHandle, int What, ...));
  84. + #else
  85.   __EXTERN int    wind_get __PROTO((int WindowHandle, int What,
  86.                     int *W1, int *W2, int *W3, int *W4)); 
  87. + #endif
  88.   __EXTERN int    wind_set __PROTO((int WindowHandle, int What, ...));
  89.   __EXTERN int    wind_find __PROTO((int X, int Y));
  90.   __EXTERN int    wind_update __PROTO((int Code));
  91. ===================================================================
  92. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/compiler.h,v
  93. retrieving revision 1.10
  94. diff -c -r1.10 compiler.h
  95. *** 1.10    1992/11/07 00:10:58
  96. --- compiler.h    1993/02/18 00:31:04
  97. ***************
  98. *** 8,19 ****
  99.   #define _COMPILER_H
  100.   
  101.   /* symbols to identify the type of compiler */
  102. - #ifdef SOZOBON
  103. - #define __SOZOBON__ SOZOBON
  104. - #endif
  105.   #ifdef __SOZOBONC__
  106.   #define __SOZOBON__ __SOZOBONC__
  107.   #endif
  108.   
  109.   #ifdef LATTICE
  110. --- 8,19 ----
  111.   #define _COMPILER_H
  112.   
  113.   /* symbols to identify the type of compiler */
  114.   #ifdef __SOZOBONC__
  115.   #define __SOZOBON__ __SOZOBONC__
  116. + #else
  117. + # ifdef SOZOBON
  118. + # define __SOZOBON__ SOZOBON
  119. + # endif
  120.   #endif
  121.   
  122.   #ifdef LATTICE
  123. ***************
  124. *** 39,45 ****
  125.   #  define __PTRDIFF_TYPEDEF__ long
  126.   #  define __WCHAR_TYPEDEF__ int
  127.   #else
  128. ! #  /* sun always seems to have an agenda of their own */
  129.   #  include <sys/stdtypes.h>
  130.   #  define __SIZE_TYPEDEF__ int          /* can you believe this!! */
  131.   #  define __PTRDIFF_TYPEDEF__ int       /* or this!! */
  132. --- 39,45 ----
  133.   #  define __PTRDIFF_TYPEDEF__ long
  134.   #  define __WCHAR_TYPEDEF__ int
  135.   #else
  136. !    /* sun always seems to have an agenda of their own */
  137.   #  include <sys/stdtypes.h>
  138.   #  define __SIZE_TYPEDEF__ int          /* can you believe this!! */
  139.   #  define __PTRDIFF_TYPEDEF__ int       /* or this!! */
  140. ***************
  141. *** 103,108 ****
  142. --- 103,112 ----
  143.   #define __MSHORT__
  144.   #define __VA_LIST__ void *
  145.   #define __CDECL cdecl
  146. + /* As long as we haven't ported gemlib to Pure C and hence have to use
  147. +  * Turbo's/Pure's GEM library, define the next:
  148. +  */
  149. + #define __TCC_GEMLIB__
  150.   #endif /* __TURBOC__ */
  151.   
  152.   #if defined(__hpux) && (!defined(__GNUC__))
  153. ===================================================================
  154. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/errno.h,v
  155. retrieving revision 1.10
  156. diff -c -r1.10 errno.h
  157. *** 1.10    1992/06/03 15:23:13
  158. --- errno.h    1993/02/22 06:24:44
  159. ***************
  160. *** 39,44 ****
  161. --- 39,45 ----
  162.   
  163.   #define    EUKDEV         15        /* unknown device */
  164.   #define EUNDEV         EUKDEV        /*    "      "    */
  165. + #define ENODEV         EUKDEV        /*    "      "    */
  166.   #define    EBADSEC         16        /* bad sectors */
  167.   #define EBADSF         EBADSEC    /*  "    "     */
  168.   #define    EIDISK         17        /* insert disk */
  169. ===================================================================
  170. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/gemfast.h,v
  171. retrieving revision 1.13
  172. diff -c -r1.13 gemfast.h
  173. *** 1.13    1992/12/18 16:44:06
  174. --- gemfast.h    1993/02/22 06:24:45
  175. ***************
  176. *** 1,6 ****
  177. --- 1,10 ----
  178.   #ifndef _GEMFAST_H
  179.   #define _GEMFAST_H
  180.   
  181. + #ifndef _COMPILER_H
  182. + # include <compiler.h>
  183. + #endif
  184.   #ifdef __cplusplus
  185.   extern "C" {
  186.   #endif
  187. ***************
  188. *** 236,241 ****
  189. --- 240,246 ----
  190.   #define TOUCHEXIT    0x0040
  191.   #define HIDETREE    0x0080
  192.   #define INDIRECT    0x0100
  193. + #define SUBMENU         0x0800          /* falcon aes hierarchical menus */
  194.           /* Object states */
  195.   #define NORMAL         0x0000
  196.   #define SELECTED    0x0001
  197. ***************
  198. *** 284,292 ****
  199. --- 289,301 ----
  200.   
  201.   typedef struct
  202.   {
  203. + #ifdef __TCC_COMPAT__
  204. +     void        *fd_addr;
  205. + #else /* !__TCC_COMPAT__ */
  206.       long        fd_addr;    /* Addrerss of upper left corner of first*/
  207.                                       /* plane of raster area. If NULL then   */
  208.                                       /* MFDB is for a physical device        */
  209. + #endif /* !__TCC_COMPAT__ */
  210.       short        fd_w;        /* Form Width in Pixels                 */
  211.       short        fd_h;       /* Form Height in Pixels                */
  212.       short        fd_wdwidth; /* Form Width in shorts(fd_w/sizeof(int)*/
  213. ***************
  214. *** 421,432 ****
  215.   
  216.       } BITBLK;
  217.   
  218. - typedef struct user_block
  219. -     {
  220. -         int  (*ub_code)(void *parmblock); /* really PARMBLK *parmblock */
  221. -     long ub_parm;
  222. -     } USERBLK;
  223.   #ifndef __TCC_COMPAT__
  224.   typedef struct object
  225.       {
  226. --- 430,435 ----
  227. ***************
  228. *** 445,459 ****
  229.   #else
  230.   
  231.   typedef struct {
  232. !     unsigned short character   :  8;
  233. !     signed   short framesize   :  8;
  234. !     unsigned short framecol    :  4;
  235. !     unsigned short textcol     :  4;
  236. !     unsigned short textmode    :  1;
  237. !     unsigned short fillpattern :  3;
  238. !     unsigned short interiorcol :  4;
  239.   } bfobspec;
  240.   
  241.   typedef union __u_ob_spec {
  242.       TEDINFO        *tedinfo;
  243.       long        index;
  244. --- 448,464 ----
  245.   #else
  246.   
  247.   typedef struct {
  248. !     unsigned int character   :  8;
  249. !     signed   int framesize   :  8;
  250. !     unsigned int framecol    :  4;
  251. !     unsigned int textcol     :  4;
  252. !     unsigned int textmode    :  1;
  253. !     unsigned int fillpattern :  3;
  254. !     unsigned int interiorcol :  4;
  255.   } bfobspec;
  256.   
  257. + struct user_block;    /* forward declaration */
  258.   typedef union __u_ob_spec {
  259.       TEDINFO        *tedinfo;
  260.       long        index;
  261. ***************
  262. *** 462,468 ****
  263.           bfobspec    obspec;
  264.       BITBLK        *bitblk;
  265.       ICONBLK        *iconblk;
  266. !         USERBLK     *userblk;
  267.   /*    APPLBLK        *applblk;
  268.       char        *string;    */
  269.   } U_OB_SPEC;
  270. --- 467,473 ----
  271.           bfobspec    obspec;
  272.       BITBLK        *bitblk;
  273.       ICONBLK        *iconblk;
  274. !     struct user_block *userblk;
  275.   /*    APPLBLK        *applblk;
  276.       char        *string;    */
  277.   } U_OB_SPEC;
  278. ***************
  279. *** 494,499 ****
  280. --- 499,514 ----
  281.       long     pb_parm;
  282.       } PARMBLK;
  283.   
  284. + typedef struct user_block
  285. +     {
  286. + #ifdef __TCC_COMPAT__
  287. +         int __CDECL (*ub_code)(PARMBLK *parmblock);
  288. + #else
  289. +         int __CDECL (*ub_code)(void *parmblock); /* really PARMBLK *parmblock */
  290. + #endif
  291. +     long ub_parm;
  292. +     } USERBLK;
  293.                           /* used in RSCREATE.C    */
  294.   typedef struct rshdr
  295.   {
  296. ***************
  297. *** 519,527 ****
  298. --- 534,586 ----
  299.   
  300.   #define DESKTOP_HANDLE 0
  301.   
  302. + /* falcon aes menu_popup and menu_attach structure for passing and receiving
  303. +  * submenu data.
  304. +  */
  305. + typedef struct _menu
  306. + {
  307. +     OBJECT *mn_tree;    /* the object tree of the menu */
  308. +     short   mn_menu;    /* the parent object of the menu items */
  309. +     short   mn_item;    /* the starting menu item */
  310. +     short   mn_scroll;  /* the scroll field status of the menu 
  311. +                            0  - The menu will not scroll
  312. +                            !0 - The menu will scroll if the number of menu
  313. +                                 items exceed the menu scroll height. The 
  314. +                 non-zero value is the object at which 
  315. +                 scrolling will begin.  This will allow one
  316. +                 to have a menu in which the scrollable region
  317. +                 is only a part of the whole menu.  The value
  318. +                 must be a menu item in the menu.
  319. +                 
  320. +                                 menu_settings can be used to change the menu
  321. +                                 scroll height. 
  322. +                          NOTE: If the scroll field status is !0, the menu
  323. +                                items must consist entirely of G_STRINGS. */
  324. +     short   mn_keystate; /* The CTRL, ALT, SHIFT Key state at the time the
  325. +                 mouse button was pressed. */
  326. + } MENU;
  327. + /* menu_settings uses a new structure for setting and inquiring the submenu
  328. +  * delay values and the menu scroll height.  The delay values are measured in
  329. +  * milliseconds and the height is based upon the number of menu items.
  330. +  */
  331. + typedef struct _mn_set
  332. + {
  333. +     long Display;    /*  the submenu display delay     */
  334. +     long Drag;       /*  the submenu drag delay        */
  335. +     long Delay;      /*  the single-click scroll delay */
  336. +     long Speed;      /*  the continuous scroll delay   */
  337. +     short Height;    /*  the menu scroll height        */
  338. + } MN_SET;
  339.   /* (user visible) binding arrays */
  340.   extern short         _intin[], _intout[], _ptsin[], _ptsout[];
  341. + #ifndef __GNUC__ /* for gcc see common.h in gemlib */
  342.   extern void          *_addrin[], *_addrout[];
  343. + #endif
  344.   extern int        gl_apid, gl_ap_version;
  345.   
  346.   #ifdef __cplusplus
  347. ===================================================================
  348. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/limits.h,v
  349. retrieving revision 1.10
  350. diff -c -r1.10 limits.h
  351. *** 1.10    1992/10/09 20:53:12
  352. --- limits.h    1993/02/18 00:31:07
  353. ***************
  354. *** 116,121 ****
  355. --- 116,123 ----
  356.   #define PATH_MAX        _POSIX_PATH_MAX
  357.   #define PIPE_BUF        _POSIX_PIPE_BUF
  358.   
  359. + #define PASS_MAX        8
  360.   #endif /* __STRICT_ANSI__ */
  361.   
  362.   #endif /* _LIMITS_H */
  363. ===================================================================
  364. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/mintbind.h,v
  365. retrieving revision 1.11
  366. diff -c -r1.11 mintbind.h
  367. *** 1.11    1992/12/18 16:44:11
  368. --- mintbind.h    1993/02/22 06:24:47
  369. ***************
  370. *** 76,81 ****
  371. --- 76,83 ----
  372.   int Pgeteuid( void );                /* GEMDOS 0x138 */
  373.   int Pgetegid( void );                /* GEMDOS 0x139 */
  374.   int Pwaitpid(int pid, int flag, long *rusage);    /* GEMDOS 0x13a */
  375. + long Dgetcwd(char *path, int drv, int size);    /* GEMDOS 0x13b */
  376. + long Salert(char *msg);                /* GEMDOS 0x13c */
  377.   
  378.   #else /* !__TURBOC__ */
  379.   
  380. ***************
  381. *** 314,319 ****
  382. --- 316,325 ----
  383.           (int)trap_1_w(0x139)
  384.   #define Pwaitpid(pid,flag, rusage)                \
  385.           trap_1_wwwl(0x13a, (short)(pid), (short)(flag), (long)(rusage))
  386. + #define Dgetcwd(path, drv, size)                \
  387. +         trap_1_wlww(0x13b, (long)(path), (short)(drv), (short)(size))
  388. + #define Salert(msg)                        \
  389. +         trap_1_wl(0x13c, (long)(msg))
  390.   
  391.   #endif /* __TURBOC__ */
  392.   
  393. ===================================================================
  394. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/obstack.h,v
  395. retrieving revision 1.5
  396. diff -c -r1.5 obstack.h
  397. *** 1.5    1992/10/09 20:53:12
  398. --- obstack.h    1993/02/18 00:31:08
  399. ***************
  400. *** 104,111 ****
  401.   #define __OBSTACKS__
  402.   
  403.   
  404. ! #include <compiler.h>    /* so that the defs here and in obstack.c dont use
  405. !                the type int so blindly */
  406.   #ifndef _SIZE_T
  407.   #define _SIZE_T __SIZE_TYPEDEF__
  408.   typedef _SIZE_T size_t;
  409. --- 104,111 ----
  410.   #define __OBSTACKS__
  411.   
  412.   
  413. ! #include <compiler.h>    /* so that the defs here and in obstack.c dont use */
  414. !             /* the type int so blindly */
  415.   #ifndef _SIZE_T
  416.   #define _SIZE_T __SIZE_TYPEDEF__
  417.   typedef _SIZE_T size_t;
  418. ===================================================================
  419. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/osbind.h,v
  420. retrieving revision 1.29
  421. diff -c -r1.29 osbind.h
  422. *** 1.29    1992/12/18 16:44:13
  423. --- osbind.h    1993/02/18 00:31:10
  424. ***************
  425. *** 184,190 ****
  426.   long    Nversion( void );
  427.   long    Frlock( int handle, long start, long count );
  428.   long    Frunlock( int handle, long start );
  429. ! long    Flock( int handle, long count );
  430.   long    Funlock( int handle );
  431.   long    Fflush( int handle );
  432.   long    Unlock( const char *path );
  433. --- 184,190 ----
  434.   long    Nversion( void );
  435.   long    Frlock( int handle, long start, long count );
  436.   long    Frunlock( int handle, long start );
  437. ! long    Flock( int handle, int mode, long start, long length );
  438.   long    Funlock( int handle );
  439.   long    Fflush( int handle );
  440.   long    Unlock( const char *path );
  441. ***************
  442. *** 195,203 ****
  443.   void    Getmpb( _MPB *ptr );
  444.   int     Bconstat( int dev );
  445.   long    Bconin( int dev );
  446. ! void    Bconout( int dev, int c );
  447.   long    Rwabs( int rwflag, void *buf, int cnt, int recnr, int dev );
  448.   void    (*Setexc( int number, void (*exchdlr)() )) ();
  449.   long    Tickcal( void );
  450.   _BPB    *Getbpb( int dev );
  451.   long    Bcostat( int dev );
  452. --- 195,204 ----
  453.   void    Getmpb( _MPB *ptr );
  454.   int     Bconstat( int dev );
  455.   long    Bconin( int dev );
  456. ! long    Bconout( int dev, int c );
  457.   long    Rwabs( int rwflag, void *buf, int cnt, int recnr, int dev );
  458.   void    (*Setexc( int number, void (*exchdlr)() )) ();
  459. + #define Setexc(number, exchdlr)    Setexc(number, (void(*)())(exchdlr))
  460.   long    Tickcal( void );
  461.   _BPB    *Getbpb( int dev );
  462.   long    Bcostat( int dev );
  463. ***************
  464. *** 209,214 ****
  465. --- 210,216 ----
  466.   /* XBios */
  467.   
  468.   void    Initmous( int type, _PARAM *par, void (*mousevec)() );
  469. + #define Initmous(type, par, mousevec) Initmous(type, par, (void(*)()) mousevec)
  470.   void    *Ssbrk( int count );
  471.   void    *Physbase( void );
  472.   void    *Logbase( void );
  473. ===================================================================
  474. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/string.h,v
  475. retrieving revision 1.22
  476. diff -c -r1.22 string.h
  477. *** 1.22    1992/08/14 15:01:21
  478. --- string.h    1993/02/18 00:31:12
  479. ***************
  480. *** 53,58 ****
  481. --- 53,59 ----
  482.    */
  483.   __EXTERN void *memccpy __PROTO((void *dst, const void *src, int ucharstop, size_t size));
  484.   __EXTERN char *strlwr __PROTO((char *string));
  485. + __EXTERN char *strupr __PROTO((char *string));
  486.   /* CAUTION: there are assumptions elsewhere in the code that strrev()
  487.      reverses in-place
  488.    */
  489. ***************
  490. *** 94,100 ****
  491.       register char *_dscan;
  492.   
  493.       for (_dscan = dst; *_dscan; _dscan++) ;
  494. !     while (*_dscan++ = *src++) ;
  495.       return dst;
  496.   }
  497.   
  498. --- 95,101 ----
  499.       register char *_dscan;
  500.   
  501.       for (_dscan = dst; *_dscan; _dscan++) ;
  502. !     while ((*_dscan++ = *src++)) ;
  503.       return dst;
  504.   }
  505.   
  506. ***************
  507. *** 103,109 ****
  508.   __strcpy(char *dst, const char *src)
  509.   {
  510.       register char *_dscan = dst;
  511. !     while (*_dscan++ = *src++) ;
  512.       return dst;
  513.   }
  514.   
  515. --- 104,110 ----
  516.   __strcpy(char *dst, const char *src)
  517.   {
  518.       register char *_dscan = dst;
  519. !     while ((*_dscan++ = *src++)) ;
  520.       return dst;
  521.   }
  522.   
  523. ===================================================================
  524. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/support.h,v
  525. retrieving revision 1.13
  526. diff -c -r1.13 support.h
  527. *** 1.13    1992/06/03 15:23:13
  528. --- support.h    1993/02/22 06:24:48
  529. ***************
  530. *** 66,76 ****
  531.   __EXTERN void _mcleanup __PROTO((void));
  532.   __EXTERN int profil __PROTO((void *buff, unsigned long bufsiz, unsigned long offset, int shift));
  533.   
  534. ! __EXTERN int isatty __PROTO((int fd));
  535. ! __EXTERN int link __PROTO((void));
  536. ! __EXTERN int symlink __PROTO((char *old, char *new));
  537.   __EXTERN int readlink __PROTO((char *filename, char *linkto, int siz));
  538.   
  539.   #ifdef __cplusplus
  540.   }
  541. --- 66,77 ----
  542.   __EXTERN void _mcleanup __PROTO((void));
  543.   __EXTERN int profil __PROTO((void *buff, unsigned long bufsiz, unsigned long offset, int shift));
  544.   
  545. ! __EXTERN int link __PROTO((const char *old, const char *new));
  546. ! __EXTERN int symlink __PROTO((const char *old, const char *new));
  547.   __EXTERN int readlink __PROTO((char *filename, char *linkto, int siz));
  548. + __EXTERN long a64l __PROTO((const char *s));
  549. + __EXTERN char *l64a __PROTO((long l));
  550.   
  551.   #ifdef __cplusplus
  552.   }
  553. ===================================================================
  554. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/time.h,v
  555. retrieving revision 1.16
  556. diff -c -r1.16 time.h
  557. *** 1.16    1992/06/03 15:23:13
  558. --- time.h    1993/02/22 06:24:50
  559. ***************
  560. *** 74,79 ****
  561. --- 74,80 ----
  562.   __EXTERN void        tzset    __PROTO((void));
  563.   
  564.   #ifndef __STRICT_ANSI__
  565. + __EXTERN clock_t    _clock     __PROTO((void));
  566.   __EXTERN int    gettimeofday __PROTO((struct timeval *, struct timezone *));
  567.   __EXTERN int    settimeofday __PROTO((struct timeval *, struct timezone *));
  568.   
  569. ===================================================================
  570. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/times.h,v
  571. retrieving revision 1.11
  572. diff -c -r1.11 times.h
  573. *** 1.11    1992/06/03 15:23:13
  574. --- times.h    1993/02/18 00:31:15
  575. ***************
  576. *** 24,30 ****
  577.   };
  578.   
  579.   
  580. ! __EXTERN int    times    __PROTO((struct tms *));
  581.   
  582.   #ifdef __cplusplus
  583.   }
  584. --- 24,30 ----
  585.   };
  586.   
  587.   
  588. ! __EXTERN long    times    __PROTO((struct tms *));
  589.   
  590.   #ifdef __cplusplus
  591.   }
  592. ===================================================================
  593. RCS file: /net/acae127/home/bammi/etc/src/master/atari/include/vdibind.h,v
  594. retrieving revision 1.11
  595. diff -c -r1.11 vdibind.h
  596. *** 1.11    1992/06/03 15:23:13
  597. --- vdibind.h    1993/02/22 06:24:52
  598. ***************
  599. *** 285,305 ****
  600.   __EXTERN unsigned long vq_gdos __PROTO((void));
  601.   #endif /* __GNUC__ | !__NO_INLINE__ */    
  602.   
  603. ! /* FSM gdos bindings */
  604.   
  605. ! /* ---------------------------------------------------------------------------
  606. !  * Retrieve placement information for FSM generated characters
  607. !  * Information is placed in infoarray of 52 ints.
  608. !  * Borrow a soothsayer from DRI or Atari to find its meaning.
  609. !  *
  610. !  * This is a temporary bindings since one genius decided
  611. !  * that some entries in infoarray will represent real numbers.
  612. !  * You may fully expect that that this representation of reals is
  613. !  * absolutely different from what your compiler is using.
  614. !  * Count your lucky stars if at least sizeof(double) == 2 * sizeof(int).
  615. !  * Or maybe sizeof(double) is supposed to be sizeof(float)?
  616. !  */
  617. ! __EXTERN void v_getbitmap_info __PROTO((int handle, int ch, int infoarray[]));
  618.   
  619.   /*
  620.    * Inquire text extent, accounting for FSM text placement
  621. --- 285,306 ----
  622.   __EXTERN unsigned long vq_gdos __PROTO((void));
  623.   #endif /* __GNUC__ | !__NO_INLINE__ */    
  624.   
  625. ! /* FSM/SpeedGDOS bindings */
  626.   
  627. ! /* Get Character Bitmap Information. This call provides information to allow
  628. !  * the caller to know the exact size and placement of a given character.  This
  629. !  * information includes the character's x and y advance vectors, the x and y
  630. !  * offsets, and the bitmap dimensions of the character. The advance vector
  631. !  * represents the amount to add to the current point to place the following
  632. !  * character.  The x and y offsets, when added to the current point, give the
  633. !  * caller the location of the upper left hand corner of the bitmap.  The width
  634. !  * and height of the bitmap are returned as 16 bit integers.  All other values
  635. !  * are returned in fix31 representation.
  636. !  */
  637. ! __EXTERN void v_getbitmap_info __PROTO((int handle, int ch,  long *advancex,
  638. ! long *advancey, long *xoffset, long *yoffset, int *width, int *height,
  639. ! short **bitmap));
  640.   
  641.   /*
  642.    * Inquire text extent, accounting for FSM text placement
  643. ***************
  644. *** 307,325 ****
  645.   __EXTERN void vqt_f_extent __PROTO((int handle, const char *str, int extent[]));
  646.   
  647.   /*
  648. !  * Draw FSM text (accounts for fractional advances in rotated text)
  649.    */
  650.   __EXTERN void v_ftext __PROTO((int handle, int x, int y, const char *str));
  651. ! /*
  652. !  * Release memory associated with outline component generated by v_getoutline()
  653. !  */
  654. ! __EXTERN void v_killoutline __PROTO((int handle, void *component));
  655.   
  656.   /*
  657.    * Generate an outline for character ch, and return the address of the outline.
  658.    */
  659. ! __EXTERN void v_getoutline __PROTO((int handle, int ch, void **component));
  660.   
  661.   /*
  662.    * Set scratch buffer allocation mode.
  663. --- 308,324 ----
  664.   __EXTERN void vqt_f_extent __PROTO((int handle, const char *str, int extent[]));
  665.   
  666.   /*
  667. !  * Draw outline font text (accounts for fractional advances in rotated text)
  668.    */
  669.   __EXTERN void v_ftext __PROTO((int handle, int x, int y, const char *str));
  670. ! __EXTERN void v_ftext_offset __PROTO((int handle, int x, int y,
  671. !                                       const char *str, int *offset)); 
  672.   
  673.   /*
  674.    * Generate an outline for character ch, and return the address of the outline.
  675.    */
  676. ! __EXTERN void v_getoutline __PROTO((int handle, int ch, int *xyarray,
  677. !                                  char *bezarray, int maxverts, int *numverts));
  678.   
  679.   /*
  680.    * Set scratch buffer allocation mode.
  681. ***************
  682. *** 347,358 ****
  683.    */
  684.   __EXTERN int    vst_arbpt __PROTO((  int handle, int point, int *wchar,
  685.                      int *hchar, int *wcell, int *hcell ));
  686.   
  687.   /*
  688. !  * Inquire FSM text advance placement vector.
  689.    */
  690.   __EXTERN void    vqt_advance __PROTO(( int handle, int ch, int *xadv,
  691.                        int *yadv, int *xrem, int *yrem)); 
  692.   
  693.   /*
  694.    * Inquire device status information.
  695. --- 346,361 ----
  696.    */
  697.   __EXTERN int    vst_arbpt __PROTO((  int handle, int point, int *wchar,
  698.                      int *hchar, int *wcell, int *hcell ));
  699. + __EXTERN long    vst_arbpt32 __PROTO((  int handle, long point, int *wchar,
  700. +                    int *hchar, int *wcell, int *hcell ));
  701.   
  702.   /*
  703. !  * Inquire outline font text advance placement vector.
  704.    */
  705.   __EXTERN void    vqt_advance __PROTO(( int handle, int ch, int *xadv,
  706.                        int *yadv, int *xrem, int *yrem)); 
  707. + __EXTERN void   vqt_advance32 __PROTO((int handle, int ch, long *advx,
  708. +                                        long *advy));
  709.   
  710.   /*
  711.    * Inquire device status information.
  712. ***************
  713. *** 380,385 ****
  714. --- 383,390 ----
  715.    */
  716.   __EXTERN int    vst_setsize __PROTO(( int handle, int point, int *wchar,
  717.                        int *hchar, int *wcell, int *hcell ));
  718. + __EXTERN long    vst_setsize32 __PROTO(( int handle, long point, int *wchar,
  719. +                      int *hchar, int *wcell, int *hcell ));
  720.   
  721.   /*
  722.    * Set FSM skew.
  723. ***************
  724. *** 389,402 ****
  725.   /*
  726.    * Get FSM GASCII tables.
  727.    */
  728.   __EXTERN void    vqt_get_tables __PROTO(( int handle, void **gascii,
  729.                       void **style ));
  730.   
  731.   /* 
  732. !  * Get FSM cashe size
  733.    */
  734.   __EXTERN void    vqt_cachesize __PROTO(( int handle, int which_cache,
  735.                          size_t *size ));
  736.   
  737.   /*
  738.    * bezier curves stuff
  739. --- 394,437 ----
  740.   /*
  741.    * Get FSM GASCII tables.
  742.    */
  743. + __EXTERN void   vqt_get_table __PROTO((int handle, short **map));
  744. + #if 0 /* old FSMgdos binding */
  745.   __EXTERN void    vqt_get_tables __PROTO(( int handle, void **gascii,
  746.                       void **style ));
  747. + #endif
  748.   
  749.   /* 
  750. !  * Get FSM cache size
  751.    */
  752.   __EXTERN void    vqt_cachesize __PROTO(( int handle, int which_cache,
  753.                          size_t *size ));
  754. + /*
  755. +  * Set Character Mapping Mode
  756. +  */
  757. + __EXTERN void vst_charmap __PROTO((int handle, int mode));
  758. + /*
  759. +  * Set Kerning Mode
  760. +  */
  761. + __EXTERN void vst_kern __PROTO((int handle, int tmode, int pmode, int *tracks,
  762. +                                 int *pairs));
  763. + /*
  764. +  * Inq Speedo Header
  765. +  */
  766. + __EXTERN void vqt_fontheader __PROTO((int handle, char *buffer, char
  767. +                                       *pathname));
  768. + /*
  769. +  * Inq track kerning info
  770. +  */
  771. + __EXTERN void vqt_trackkern __PROTO((int handle, long *x, long *y));
  772. + /*
  773. +  * Inq pair kerning info
  774. +  */
  775. + __EXTERN void vqt_pairkern __PROTO((int handle, int ch1, int ch2, long *x, long
  776. +                                     *y));
  777.   
  778.   /*
  779.    * bezier curves stuff
  780.